Even though labels will be replaced with its related field in the data context, several other processes might need to be performed during mail merge process. To accommodate this need, two server-side events are added to WebTextEditor:
- OnMailMerge.
This event will be invoked when mail merge process is performed in each record of data context.
- OnMailMergeCompleted.
This event will be invoked when mail merge process has been completed.
When AutomaticSendMail is set disabled, the custom process can be implemented in the following server-side event. Other custom process during send mail process can also be included in these events.
- OnSendMail.
This event will be invoked when each mail is about to be sent.
- OnSendMailCompleted.
This event will be invoked after all mail has been sent.
Other Resources
{Labels}
{Preview Mail Merge}
{Send Mail}